import request from '@/utils/request'

// 查询点位删除记录列表
export function listCameraDelRecord(query) {
  return request({
    url: '/manage/cameraDelRecord/list',
    method: 'get',
    params: query
  })
}

// 查询点位删除记录详细
export function getCameraDelRecord(id) {
  return request({
    url: '/manage/cameraDelRecord/' + id,
    method: 'get'
  })
}

// 新增点位删除记录
export function addCameraDelRecord(data) {
  return request({
    url: '/manage/cameraDelRecord',
    method: 'post',
    data: data
  })
}

// 修改点位删除记录
export function updateCameraDelRecord(data) {
  return request({
    url: '/manage/cameraDelRecord',
    method: 'put',
    data: data
  })
}

// 删除点位删除记录
export function delCameraDelRecord(id) {
  return request({
    url: '/manage/cameraDelRecord/' + id,
    method: 'delete'
  })
}
